CC= g++
CFALGS= -std=c++0x -Wall 

BIN=Bin
DIR=FS

all: $(FS) $(LIBS)
	$(CC) $(CFLAGS) -c $(DIR)/File.cpp $(DIR)/FS_Client.cpp $(DIR)/FS_Server.cpp
	$(CC) $(CFLAGS) $(LIBS)  $(DIR)/File.cpp $(DIR)/FS_Client.cpp $(DIR)/FS_Server.cpp  -o $(BIN)/FS 

FS: $(DIR)/File.cpp $(DIR)/FS_Client.cpp $(DIR)/FS_Server.cpp  $(DIR)/FileSharing.h $(DIR)/fs.h

LIBS=Obj/log.o Obj/config.o

clean: 
	rm *.o
